﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="liebieguanli.aspx.cs" Inherits="qs_wenjian_liebieguanli" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>类别管理</title>
    <link href="../css/textarea.css" rel="stylesheet" type="text/css"/>
    <style type="text/css"> 

div.RoundedCorner{background: #5AAE18} 
b.rtop, b.rbottom{display:block;background: #FFF} 
b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #5AAE18} 
b.r1{margin: 0 4px} 
b.r2{margin: 0 3px} 
b.r3{margin: 0 2px} 
b.rtop b.r4, {margin: 0 1px;height: 1px}
.style1 {
	font-size: 13px;
	color: #FFFFFF;
font-weight: bold;
} 
.style6 {
	color: #FFFFFF;
	font-weight: bold;
}
</style>
<style type="text/css">
<!--
body {
	margin-top: 2px;
}
-->
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div align="center">
  <table width="70%" border="0" cellspacing="0" cellpadding="0" bgcolor="#5AAE18">
            <tr>
              <td>
                           
      <div align="center"><b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <span class="style6">新 建 文 件 类 别</span></div>
    </td>
            </tr>
  </table>
              <table width="70%" height="129" border="0" cellpadding="3" cellspacing="1" bgcolor="#5AAE18">
                <tr bgcolor="#FFFFFF">
                  <td width="14%"><div align="right" style="font-size: 12px">类 别：</div></td>
                  <td width="86%"><span style="font-size: 12px">
                      <asp:TextBox ID="txtLeiBeiName" runat="server"></asp:TextBox>&nbsp;
                         <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtLeiBeiName" ErrorMessage="类别不能为空"></asp:RequiredFieldValidator>
                  </span></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td>&nbsp;</td>
                  <td style="text-align: center">
                      <asp:Button ID="btAddLeiBei" runat="server" OnClick="btAddLeiBei_Click" Text="添加新类别" />
                      &nbsp;&nbsp;
                      <input type="button" name="btnCancel" value="取 消" onclick="javacript:history.go(-1)" />
                      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                  </td>
                </tr>
              </table>
        <br />
</div>
 <div align="center">
    <table width="70%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><div class="RoundedCorner">
            <div align="center"><b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b><span class="style6">文 件 类 别 列 表<b class="r4"></b></span></div>
        </div></td>
      </tr>
      <tr>
      <td> <asp:GridView ID="gdvLeiBei" runat="server" AutoGenerateColumns="False" Height="96px" Width="100%" Font-Size="Larger"><Columns>
<asp:BoundField DataField="ftype_id" HeaderText="类别编号"></asp:BoundField>
<asp:BoundField DataField="ftype_filetype" HeaderText="类别名称"></asp:BoundField>
<asp:HyperLinkField HeaderText="操作" Text="修改" DataNavigateUrlFormatString="liebiexiu.aspx?ftype_id={0}" DataNavigateUrlFields="ftype_id"></asp:HyperLinkField>
<asp:HyperLinkField HeaderText="操作" Text="删除" DataNavigateUrlFormatString="liebieshanchu.aspx?ftype_id={0}" DataNavigateUrlFields="ftype_id"></asp:HyperLinkField>
</Columns>
</asp:GridView></td>
      </tr>
    </table>

            </div>

    </div>
    </form>
</body>
</html>
